@extends('layouts.template')

@section('title', '个人中心')

@section('header')
@endsection

@section('content')
    <div>
        <div class="m_wallet01">
            <h2><span><a href="{{url('wallet/history')}}">明细</a></span>余额账户(元)</h2>
            <p><a href="#"><i><img src="{{asset('images/ico25.png')}}"></i></a>{{$wallet->balance_text}}</p>
        </div>

        <div class="member_main">
            <ul class="overflow_h">
                <li><a href="{{url('wallet/cash')}}"><span class="m_sp01 member_ico01"></span><span class="m_sp02">提现</span><span class="mem_ico"></span><span class="m_sp03">{{$wallet->alipay_account ? '已绑定提现账号' : '暂未绑定提现账号'}}</span></a></li>
                <li><a href="{{url('wallet/password')}}"><span class="m_sp01 member_ico02"></span><span class="m_sp02">钱包密码</span><span class="mem_ico"></span><span class="m_sp03">{{$wallet->wallet_password ? '已设置' : '暂未设置'}}</span></a></li>
                <li><a href="{{url('wallet/assurefund')}}"><span class="m_sp01 member_ico03"></span><span class="m_sp02">诚信保证金</span><span class="mem_ico"></span><span class="m_sp03">{{$wallet->assure_fund ? '已缴纳'.intval($wallet->assure_fund).'元' : '暂未缴纳'}}</span></a></li>
                <li><a href="{{url('wallet/bill')}}"><span class="m_sp01 member_ico04"></span><span class="m_sp02">收入账单</span></a></li>
            </ul>
        </div>

    </div>
@endsection